<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
<form action="" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    用户名: <input type="text" name="username">
    <br>
    密码: <input type="password" name="password">
    <br>
    头像: <input type="file" name="icon">
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>